<template>
	<view class="contcat">
		<image class="img" src="../../static/concat.png"></image>
		<view class="info">
			<view @click="phone">联系电话：15181368953(点击拨打)</view>
			<view>联系地址：北京市海淀区苏州街长远天地座501号房间</view>
		</view>
		<map class="map" :longitude="longitude" :scale="scale":latitude="latitude" :markers="markers"></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:116.313177,
				latitude:39.984209,
				// 缩放级别3~20
				scale:20,
				markers:[
					{
						longitude:116.313177,
						latitude:39.984209,
						iconPath:"../../static/yym_shop.png",
						width:30,
						height:30
					}
				]
			}
		},
		methods: {
			phone(){
				uni.makePhoneCall({
					phoneNumber:"15181368953"
				})
			}
		}
	}
</script>

<style lang="scss">
.contcat{
	.img{
		width: 750rpx;
	    height: 320rpx;
	}
	.info{
		padding: 10rpx 20rpx;
		font-size: 30rpx;
		view {
		line-height: 60rpx;
		border-bottom: 1px solid #eee;	
		}
	}
	.map{
		width: 750rpx;
		height: 750rpx;
	}
}
</style>
